package net.adetech.crj.dao;


import net.adetech.crj.entity.Advice;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AdviceMapper {

    @Insert("insert into CRJ_ADVICE (ID,USER_ID_NUMBER,PHONE_NUMBER,CREATE_TIME,ADVICE_CONTENT) values (SEQ_ADVICE_ID.nextval,#{userIdNumber},#{phoneNumber},sysdate,#{adviceContent})")
    void newAdvice(Advice advice);
}
